﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreeSql.DataAnnotations;
using FreeSqlExtensions;
using Newtonsoft.Json;

namespace LightLog.Entity
{
    /// <summary>
    /// 用户和项目关联
    /// </summary>
    [JsonObject(MemberSerialization.OptIn)]
    [Table(Name = "UserProject")]
    [Serializable]
    public partial class UserProject : SnowflakEntity
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public long UserID { get; set; }

        /// <summary>
        /// 项目id
        /// </summary>
        public long ProjectID { get; set; }
    }
}
